export function isID(id) {
    let a = new RegExp('[a-z,0-9]{24}');
    let b = new RegExp('[\w]{0,24}');
    let c = new RegExp('[\u4e00-\u9fa5]')
    // console.log(a.test(this.id));
    // console.log(b.test(this.id));
    if (id == '') {
        return null
    } else if(a.test(id)) {
        return 'isId'
    } else if (c.test(id)) {
        return 'isName'
    } else if (b.test(id)) {
        return 'false'
    }
}